package com.ruicar.afs.cloud.account.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.account.enums.rules.AtomLocation;
import lombok.Data;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/7/1 17:02
 */
@TableName("voucher_rule_express_atom")
@Data
public class VoucherRuleExpressAtom {
    @TableId(type = IdType.INPUT)
    private Long id ;
    /** 规则ID */
    private Long ruleId ;
    /** 表达式ID */
    private Long expressId ;
    /** 原子位置;left-左，right-右 */
    private AtomLocation atomLocation ;
    /** atom配置信息 */
    private String atomInfo ;

}
